package com.suppor.rpc.hello.impl;

import com.suppor.rpc.provider.annotation.RpcService;
import com.support.hello.HelloService;
import com.support.hello.ResultData;

@RpcService(service = HelloService.class, version = "1.0.0")
public class HelloServiceImpl implements HelloService {
    @Override
    public ResultData helloService(String name) {
        System.out.println("PrintName: " + name);
        ResultData data = new ResultData();
        data.setId(1);
        data.setName("Rpc");
        return data;
    }
}
